#ifndef JSONCOMMENTXLS_H
#define JSONCOMMENTXLS_H

#include <QtWidgets/QDialog>
#include "ui_jsoncommentxls.h"
#include <QJsonValueRef>
#include <QCheckBox>
class JsonCommentXls : public QDialog
{
	Q_OBJECT

public:
	JsonCommentXls(QWidget *parent = 0);
	~JsonCommentXls();

	void InsertObject(QJsonObject& object);
/*	void InsertValue(QJsonValue& value);*/
/*	void InsertValue(QString key, QJsonValue& value);*/
// 	void InsertValue(QString key, QJsonValueRef& value);
	void InsertValue(QString key, QJsonValueRef& value, int& nLevel);
	public slots:
	void sltConvert();
	void sltMarkdown();
	

private:
	Ui::JsonCommentXlsClass ui;
	QMap<int, QCheckBox*> m_mapCheckBox;
};

#endif // JSONCOMMENTXLS_H
